GBML manual / Engine

Reference

A map of the look-up pages - the named constants, the hardware limits, the project settings and how the engine's rooms, effects and animated tiles are built.

What this section is for

The other sections teach an idea one step at a time. This one is for looking things up. Read it when you already know what you want and need the exact answer: what a constant is called, how many of something the GBA allows, or what a setting does.

You want toReadThe short version
Find the name for a button, a color, a text position, a door mode or a tile typeConstantsA constant is a fixed name for a value that never changes, so you do not type a bare number.
Know how many sprites, backgrounds or bytes you may useBudgetsThese limits belong to the Game Boy Advance itself. Nothing in Gbabel raises them.
Change a setting that belongs to the whole projectProject settingsThe settings a project carries beyond its rooms and objects, and which ones change what your code is checked against.
Know what a room is made ofRoomsA room is a sized, tiled space with the instances, paths and camera settings you placed in it.
Understand particles and dark rooms lit by torchesParticles and lightingParticle systems are authored in the editor and started from code. A dim shroud covers a room, and lights cut holes in it.
Animate water, torches or belts made of tilesTile animationA tile that cycles through several pictures on a timer.

The Constants pages

Below the Constants page, the section has one short page for each constant. They are grouped by what they are for: buttons (BTN_A), colors (COLOR_RED), text alignment, how a path ends, tile types and how a door works.

The Engine pages

The engine is the ready-made machinery under your game: the drawing, movement and sound that you call from GBML but never write. Its pages describe how that machinery behaves, and the limits it runs into.

Start with Budgets if you are ever surprised by something not appearing. The GBA has a fixed amount of everything, and running out of it is a common reason.

See also: ConstantsBudgetsProject settingsRoomsParticles and lightingTile animation